<template>
  <div class="dashboard">
    <el-button type="primary" @click="handle">bashboard</el-button>
  </div>
</template>

<script setup lang="ts">

 const {proxy}=getCurrentInstance()!
 const handle=()=>{
  proxy?.$message("this is a message")
}
</script>
<style scoped></style>
